package com.googlecode.jcaffe.control.application;

import javax.swing.SwingUtilities;
import com.googlecode.jcaffe.control.modules.mainwindow.MainWindow;

public final class EntryPoint {
	public static void main(String[] args) {
		final MainWindow window = new MainWindow();

		// Displaying main window on screen is required to be called from EDT
		// (Event Dispatch Thread) because of threading issues.
		SwingUtilities.invokeLater(new Runnable() {
			@Override
			public void run() {
				window.showWindow(true);
			}
		});
	}
}
